<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>PerfCluster</title>
</head>
<body>
	<form action="ServletAutenticacao" method="post">
		<div align="center">
			<h3>PerfCluster Analyser</h3>
			<table border="2">
			  <tr align="center">
				<td colspan="5" bgcolor="#eeeeff"><b>Login</b></td>
		 	  </tr>
			  <tr>
			    <th>Usuario</th>
			    <td><input value="" id="usuario" name="usuario" size="20"/></td>
			  </tr>
			  <tr>
			    <th>Senha</th>
			    <td><input value="" id="senha" name="senha" size="20"/></td>
			  </tr>
			  <% String status = (String)session.getAttribute("autenticacao");
			  		if( status != null ){
				  		if(status.equalsIgnoreCase("nao_autenticado")){ %>
			  <tr>
			  	<th colspan="2">
	  				<h5 style="color: red;">Usuario nao autenticado</h5>
			  	</th>
			  </tr>
			  <%    }   } %>
			</table><br>
			<input type="submit" name="submit" value="Entrar"/>
		</div>
	</form>
</body>
</html>